package cn.home.fenni.domain;

import cn.home.sysmanagement.domain.HomeTag;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.home.common.annotation.Excel;
import cn.home.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 服务包-服务包标签对象 home_service_packagetag
 * 
 * @author gm
 * @date 2025-04-09
 */
@Data
public class HomeServicePackagetag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long relationId;

    /** 服务包标识，外键 */
    @Excel(name = "服务包标识，外键")
    private Long packageId;

    /** 标签标识 */
    @Excel(name = "标签标识")
    private Long tagId;

    private List<HomeServicePackage> homeServicePackageList;
    private List<HomeServiceTags> homeServiceTagsList;
    public void setRelationId(Long relationId) 
    {
        this.relationId = relationId;
    }

    public Long getRelationId() 
    {
        return relationId;
    }

    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }

    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("relationId", getRelationId())
            .append("packageId", getPackageId())
            .append("tagId", getTagId())
            .toString();
    }
}
